package com.zhuchaooasystem.presenter.home.fragment.oa.sign;

import com.zhuchaooasystem.base.IPresenter;
import com.zhuchaooasystem.base.IView;
import com.zhuchaooasystem.entity.SignListEntity;
import com.zhuchaooasystem.entity.SignNumEntity;

import java.util.List;

/**
 * @author yinsi
 */


public interface SignContract {

    interface View extends IView {
        void setSignNum(SignNumEntity.ResultBean.SuccessfulBean entity);

        void setCurrentItem(int position);

        void radioGroupChanged(int position);

        void refreshData(List<SignListEntity.ResultBean.SuccessfulBean.ListdataBean> data);

        void loadMoreData(List<SignListEntity.ResultBean.SuccessfulBean.ListdataBean> data);
    }

    interface Presenter extends IPresenter {
        void getSignNum();

        void pagerChanged(int position);

        void getSignRecord(int index);
    }
}
